package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Permission;
import com.example.demo.entity.Role;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {
    List<Permission> selectPermissionsByRoleId(Integer roleId);
}
